#include "devices.h"

int ledHall = 0;
int ledRoom = 0;
int ledKitc = 0;
int ledLave = 0;

int beepWar = 1;

void DEV_Init(void)
{
    led_init();
    beep_init();
    keyExit_init();
    OLED_init();
    OLED_clear();
    OLED_ShowCHinese(16, 0, 0, 16, 1);
    OLED_ShowCHinese(32, 0, 1, 16, 1);
    OLED_ShowCHinese(48, 0, 2, 16, 1);
    OLED_ShowCHinese(64, 0, 3, 16, 1);
    OLED_ShowCHinese(80, 0, 4, 16, 1);
    OLED_ShowCHinese(96, 0, 5, 16, 1);
    OLED_bitmap(0,16,trans,128,48);
    OLED_display();
}
